/**
 * output package name
 */
package com.kingdee.eas.cp.bc.app;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class SourceBillTypeEnum extends StringEnum
{
    public static final String BUSINESS_VALUE = "1";
    public static final String DEFINEPROJECT_VALUE = "2";
    public static final String OTHERS_VALUE = "3";

    public static final SourceBillTypeEnum BUSINESS = new SourceBillTypeEnum("BUSINESS", BUSINESS_VALUE);
    public static final SourceBillTypeEnum DEFINEPROJECT = new SourceBillTypeEnum("DEFINEPROJECT", DEFINEPROJECT_VALUE);
    public static final SourceBillTypeEnum OTHERS = new SourceBillTypeEnum("OTHERS", OTHERS_VALUE);

    /**
     * construct function
     * @param String sourceBillTypeEnum
     */
    private SourceBillTypeEnum(String name, String sourceBillTypeEnum)
    {
        super(name, sourceBillTypeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static SourceBillTypeEnum getEnum(String sourceBillTypeEnum)
    {
        return (SourceBillTypeEnum)getEnum(SourceBillTypeEnum.class, sourceBillTypeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(SourceBillTypeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(SourceBillTypeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(SourceBillTypeEnum.class);
    }
}